﻿#define _CRT_SECURE_NO_WARNINGS    /*求10 个整数中最大值*/
#include<stdio.h>
int main()
{
	int a[10] = { 0 }, max = 0;
	for (int n = 0; n <= 9; n++)
		scanf("%d", &a[n]);
	for (int i = 0; i < 10; i++)
	{
		if (max < a[i])
			max = a[i];
	}
	printf("%d", max);

	return 0;
}